3,180 research outputs found

    An Efficient Dynamic Programming Algorithm for the Generalized LCS Problem with Multiple Substring Exclusion Constrains

    Full text link
    In this paper, we consider a generalized longest common subsequence problem with multiple substring exclusion constrains. For the two input sequences XX and YY of lengths nn and mm, and a set of dd constrains P={P1,...,Pd}P=\{P_1,...,P_d\} of total length rr, the problem is to find a common subsequence ZZ of XX and YY excluding each of constrain string in PP as a substring and the length of ZZ is maximized. The problem was declared to be NP-hard\cite{1}, but we finally found that this is not true. A new dynamic programming solution for this problem is presented in this paper. The correctness of the new algorithm is proved. The time complexity of our algorithm is O(nmr)O(nmr).Comment: arXiv admin note: substantial text overlap with arXiv:1301.718

    The rhinoceros totem and Pangu myth : An exploration of the archetype of Pangu

    Get PDF
    There are theories that the Chinese Pangu myth originated either in Western India, the Central Plains, or the South. As for the ethnicity of the Pangu myth, since it is found in almost every group in China many different peoples believe that the Pangu myth belongs to them. However, only the Miao and Yao language families reflect a seamless connection between the regional and ethnic diversities.Issue title "Chinese Oral Traditions.
    • …
    corecore